package sh.grapendaal.tsuushin.module.uno.engine;

import java.util.List;

import sh.grapendaal.tsuushin.module.uno.engine.domain.Card;

public final class UnoRules {

	public static final int MINIMAL_PLAYERS_NEEDED = 2;
	public static final int NUM_CARDS_PER_PLAYER = 10;

	private UnoRules() {
		// Utility class
	}
	
	public static boolean hasUno(List<Card> cards) {
		return cards.size() == 1;
	}
	
	public static boolean hasWon(List<Card> cards) {
		return cards.size() == 0;
	}
}
